//
//  YPZQRecordModel.h
//  ChengHuiTong
//
//  Created by CHT-Technology on 2017/2/28.
//  Copyright © 2017年 张文权. All rights reserved.
//

#import "DataModel.h"

#pragma mark -- 债券可转让
@interface YPZQRecordModel : DataModel

@property (nonatomic,copy)NSString *tender_id; //原投标记录ID
@property (nonatomic,copy)NSString *borrow_id; //原标的ID
@property (nonatomic,copy)NSString *title; //项目标题
@property (nonatomic,copy)NSString *tender_money; //投资金额
@property (nonatomic,copy)NSString *wait_capital; //剩余本金
@property (nonatomic,copy)NSString *apr; //原标利率
@property (nonatomic,copy)NSString *total_periods; //总期数
@property (nonatomic,copy)NSString *remain_periods; //剩余未还期数
@property (nonatomic,copy)NSString *next_repay_date; //下期还款日
@property (nonatomic,copy)NSString *last_repay_date; //项目到期日
@property (nonatomic,copy)NSString *transferable; //是否可转让 0：可转让 1：已有一笔债权处于转让中，无法同时转让两个债权 2：临近项目还款日，暂不可转让

@end

#pragma mark -- 债券转让中
@interface YPZQZRZModel : DataModel

@property (nonatomic,copy)NSString *tid; //债权项目ID
@property (nonatomic,copy)NSString *credit_value; //债权价值
@property (nonatomic,copy)NSString *title; //项目标题
@property (nonatomic,copy)NSString *wait_capital; //待还本金
@property (nonatomic,copy)NSString *apr; //原标利率
@property (nonatomic,copy)NSString *sale_price; //转让价格
@property (nonatomic,copy)NSString *expire_time; //转让到期时间

@end


#pragma mark -- 债券已转让
@interface YPZQYZRModel : DataModel

@property (nonatomic,copy)NSString *tid; //债权项目ID
@property (nonatomic,copy)NSString *credit_value; //债权价值
@property (nonatomic,copy)NSString *title; //项目标题
@property (nonatomic,copy)NSString *return_capital; //回收本金
@property (nonatomic,copy)NSString *award; //扣除奖励
@property (nonatomic,copy)NSString *sale_fee; //扣除手续费
@property (nonatomic,copy)NSString *buy_time; //转让时间

@end

#pragma mark -- 债券已认购
@interface YPZQYRGModel : DataModel

@property (nonatomic,copy)NSString *tid; //债权项目ID
@property (nonatomic,copy)NSString *credit_value; //债权价值
@property (nonatomic,copy)NSString *title; //项目标题
@property (nonatomic,copy)NSString *wait_capital; //待还本金
@property (nonatomic,copy)NSString *apr; //原标利率
@property (nonatomic,copy)NSString *sale_price; //转让价格
@property (nonatomic,copy)NSString *total_periods; //总期数
@property (nonatomic,copy)NSString *remain_periods; //剩余未还期数
@property (nonatomic,copy)NSString *repay_status; //项目状态 0：还款中 1：已结束
@property (nonatomic,copy)NSString *buy_time; //认购时间
@property (nonatomic,strong)NSArray *repay_list; //还款明细列表

@end

#pragma mark -- 还款明细
@interface YPRepayListModel : DataModel

@property (nonatomic,copy)NSString *repay_date; //回款日期
@property (nonatomic,copy)NSString *repay_account; //回款金额
@property (nonatomic,copy)NSString *periods; //当前第几期
@property (nonatomic,copy)NSString *total_periods; //总期数
@property (nonatomic,copy)NSString *status; //是否已还 0：还款中 1：已还款

@end
